/*
 * converter.h
 *
 *  Created on: 2015��3��10��
 *      Author: 10071867
 */

#ifndef CONVERTER_H_
#define CONVERTER_H_
#include "base_type.h"
#include <string>

using namespace std;


class LengthUnit {
public:
	LengthUnit(Amount a);

	static LengthUnit& getMILE();

	static LengthUnit& getYARD();

	static LengthUnit& getFEET();

	static LengthUnit& getINCH();

	static LengthUnit& getBASE();

	Amount BaseUnit() const;
	string toStr(Amount val);
private:
	Amount baseUnit;
};
#endif /* CONVERTER_H_ */
